package com.fa4j.common.base.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Schema(description = "模块类型")
@Getter
@AllArgsConstructor
public enum ModuleType implements BaseEnum {
    COMMON(0, "通用模块"),
    THIRD(2, "三方模块"),
    BIZ(1, "业务模块");


    /**
     * 编码
     */
    private final Integer code;

    /**
     * 名称
     */
    private final String name;

}
